1. Show the status of the firewallRun the following command with root privileges:
# iptables-l-n-v
Parameter description:
-L: Lists the rules.
-V: Displays detailed information. This option displays the interface name,
Linux iptables firewall basic application tutorial, linuxiptables
Iptables is a common firewall software in Linux, the following describes how to install and clear iptables rules. iptables only supports the specified port. iptables shields basic
1. install iptables firewall if iptables is not installed need to be installed first, CentOS execute: yuminstalliptablesDebian/Ubuntu execute: apt-getinstalliptables2, clear existing iptables rule iptables-Fiptables-Xiptables-Z3, open the specified
Ubuntu under Iptables usage recordHere is a reference to the Baidu Encyclopedia and Ubuntu Forum Http://wiki.ubuntu.org.cn/UbuntuHelp:IptablesHowTo/zhHere is a reference to the blogger Just_young Big Wet article Http://blog.csdn.net/just_young1.
Linux iptables firewall basic application tutorial
Iptables is a common firewall software in Linux, the following describes how to install and clear iptables rules. iptables only supports the specified port. iptables shields basic applications of
(1) set iptables for startup # sysv-rc-conf -- level2345iptableson (2) basic command of iptables 1. list the current iptables policies and rules # iptables-L-n: displayed in numbers # iptables-L-v: print detailed information 2. allow an established
Basic usage of Linux firewall iptables is a common firewall software in Linux, which is usually integrated in VPS systems by default. 1. install iptables firewall www.2cto.com. if iptables is not installed, install iptables first. run CentOS:
Basic usage of Linux Firewall iptables is a common firewall software in Linux, which is usually integrated in VPS systems by default. 1. install iptables firewall www.2cto.com. If iptables is not installed, run CentOS: yum install
/Etc/init. d/iptablesrestart # Restart the firewall to make the change take effect. of course, you can restart the system (Command: reboot)/etc/rc if you do not feel any trouble. d/init. d/iptablessave # save the changes. in actual applications, it
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.